package com.aliyun.messagemgt.service;

import com.aliyun.messagemgt.loghub.LogHubProcessor;
import com.aliyun.messagemgt.loghub.LogHubProcessorFactory;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;

/**
 * @author
 * @date
 */
@RunWith(PowerMockRunner.class)
@PrepareForTest({LogHubProcessorFactory.class})
public class LogHubProcessorFactoryTest {

	@InjectMocks
	private LogHubProcessorFactory logHubProcessorFactory;

	@Mock
	private LogHubProcessor logHubProcessor;

	@Test
	public void test(){
		logHubProcessorFactory.generatorProcessor();
		System.out.println("====");
	}

}
